//从配置文件获取配置数据
var config = require('config');

var that;

//小程序入口函数
App({

  onLaunch: function(launchData) {
    that = this;
    if(launchData && launchData.scene) {
      that.globalData.sceneId = parseInt(launchData.scene);
    }
  },

  globalData: {
    sceneId: null,
    userData: {},
    storeData: {},
    _3rdSession: wx.getStorageSync('_3rdSession'),
    userListData: {},
    foodMenuData: [],
    selectedFoodData: [],
    userInfo:[],

  },
  status: {
    logined: false
  },
   config: config.data
})